package com.qbw.app.module.home.adapter;

import android.content.Context;

import com.qbw.core.base.BaseAdapter;
import com.qbw.core.holder.EmptyHolder;
import com.qbw.core.view.RefreshLoadLayout;

/*
 *
 * @author QBW
 * @date 2019/8/17
 */
public class BaseHomeAdapter extends BaseAdapter {

    public BaseHomeAdapter(Context context) {
        super(context);
    }

    public BaseHomeAdapter(Context context, RefreshLoadLayout.OnLoadFailedListener onLoadFailedListener) {
        super(context, onLoadFailedListener);
    }

    public BaseHomeAdapter(Context context, RefreshLoadLayout.OnLoadFailedListener onLoadFailedListener, EmptyHolder.Listener emptyListener) {
        super(context, onLoadFailedListener, emptyListener);
    }

    public BaseHomeAdapter(Context context, RefreshLoadLayout.OnLoadFailedListener onLoadFailedListener, Object listener) {
        super(context, onLoadFailedListener, listener);
    }

    public BaseHomeAdapter(Context context, Object listener) {
        super(context, listener);
    }

    @Override
    public int getEmptyViewType() {
        return HomeViewType.VT_EMPTY;
    }

    @Override
    public int getLoadViewType() {
        return HomeViewType.VT_LOAD;
    }
}
